Skip to content

Clean config cache before running DB upgrades#4153

Merged
antonmedv merged 2 commits intodeployphp:masterfrom
renttek:clear-config-cache-before-upgrade
Jan 28, 2026
Merged

Clean config cache before running DB upgrades#4153
antonmedv merged 2 commits intodeployphp:masterfrom
renttek:clear-config-cache-before-upgrade

Conversation

@renttek
Copy link
Contributor

@renttek renttek commented Jan 28, 2026

  • Bug fix #…?
  • New feature?
  • BC breaks?
  • Tests added?
  • Docs added?

When a new MQ topic is added, the setup:db-schema:upgrade fails because the topics are read from the cache.
Screenshot 2026-01-28 at 11 41 09

To fix this, Magento clears the config cache when running setup:upgrade:
Screenshot 2026-01-28 at 11 39 49

but does not do so when running setup:db-schema:upgrade
Screenshot 2026-01-28 at 11 40 13

See also: https://magento.stackexchange.com/questions/284604/error-while-checking-if-topic-is-synchronous-on-setupupgrade/371828#371828

@antonmedv antonmedv merged commit 10f51f7 into deployphp:master Jan 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants